Package jeresources.util
Class LootTableHelper
java.lang.Object
jeresources.util.LootTableHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<net.minecraft.resources.ResourceLocation>static Map<net.minecraft.resources.ResourceLocation,Supplier<net.minecraft.world.entity.LivingEntity>> static List<net.minecraft.world.level.storage.loot.predicates.LootItemCondition>getLootConditions(net.minecraft.world.level.storage.loot.LootPool pool) static List<net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer>getLootEntries(net.minecraft.world.level.storage.loot.LootPool pool) static net.minecraft.world.level.storage.loot.LootTablesstatic List<net.minecraft.world.level.storage.loot.LootPool>getPools(net.minecraft.world.level.storage.loot.LootTable table) toDrops(net.minecraft.resources.ResourceLocation lootTable) toDrops(net.minecraft.world.level.storage.loot.LootTable table)
-
Constructor Details
-
LootTableHelper
public LootTableHelper()
-
-
Method Details
-
getPools
public static List<net.minecraft.world.level.storage.loot.LootPool> getPools(net.minecraft.world.level.storage.loot.LootTable table) -
getLootEntries
public static List<net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer> getLootEntries(net.minecraft.world.level.storage.loot.LootPool pool) -
getLootConditions
public static List<net.minecraft.world.level.storage.loot.predicates.LootItemCondition> getLootConditions(net.minecraft.world.level.storage.loot.LootPool pool) -
toDrops
-
toDrops
-
getAllChestLootTablesResourceLocations
public static List<net.minecraft.resources.ResourceLocation> getAllChestLootTablesResourceLocations() -
getAllMobLootTables
-
getLootTables
public static net.minecraft.world.level.storage.loot.LootTables getLootTables()
-